package com.xj.homework.pattern.proxy.cglibProxy;

public class Client {

    public static void main(String[] args) {
        JavaSubject javaSubject = new JavaSubject();
        ProxyInterceptor interceptor = new ProxyInterceptor();
        Subject subject = (Subject) interceptor.newProxy(javaSubject);
        subject.study();
    }
}
